export type Params = {
  mod: string;
  act: string;
  uid?: number;
  sn?: string;
  [key: string]: string | number | undefined;
}
export type RequestConfig = {
  url: string;
  method: 'GET' | 'POST' | 'PUT' | 'DELETE';
  header: any;
  data: Params;
};

export type ResponseType = {
  code?: number;
  msg: string;
  data: AnyObject;
  ok: number;
}
